import request from '@/utils/request'

// 标签查询
export function queryCustomer(params) {
    return request({
      url: '/hermes/labelDefine/queryCustomer',
      method: 'get',
      params
    })
  }

// 地区查询查询
export function queryCusBlock(params) {
    return request({
      url: '/hermes/labelDefine/queryCusBlock',
      method: 'get',
      params
    })
  }  

// 债券分群列表
export function getBondGroupcodes(params) {
    return request({
      url: '/hermes/groupdefine/bond/groupcodes',
      method: 'get',
      params
    })
  }

// 客户分群信息
export function getCustomerGroupdefine(params) {
    return request({
      url: '/hermes/groupdefine/customer',
      method: 'get',
      params
    })
  }  

// 债券分群信息
export function getBondGroupdefine(params) {
    return request({
      url: '/hermes/groupdefine/bond',
      method: 'get',
      params
    })
  } 

// 客户分群成员明细
export function getCustomerGroupmember(params) {
    return request({
      url: '/hermes/groupdefine/customer/member',
      method: 'get',
      params
    })
  }

// 债券分群成员明细
export function getBondGroupmember(params) {
    return request({
      url: '/hermes/groupdefine/bond/member',
      method: 'get',
      params
    })
  }  

// 删除客户分群成员明细
export function deleteCustomerGroupmember(params) {
    return request({
      url: '/hermes/groupdefine/customer/member',
      method: 'delete',
      params
    })
  }

// 删除债券分群成员明细
export function deleteBondGroupmember(params) {
    return request({
      url: '/hermes/groupdefine/bond/member',
      method: 'delete',
      params
    })
  }         